package game.model;

import java.util.ArrayList;
import java.util.List;

public class Deck {
	
	private List <Card> cards = new ArrayList <Card> ();
	
	public ArrayList <Card> getCards ()
	{
		if (cards == null)
			cards = new ArrayList <Card>();
		return (ArrayList)cards;		
	}
	
	public boolean isCardInDeck (Card card)
	{
		if (cards.contains(card))
		{
			return true;
		}
		return false;
	}
	
	public void addCardToDeck (Card card)
	{
		cards.add(card);
	}
	
}
